class Test:
    def __init__(self, name):
        self.name = name

    def say_hello(self):
        print("Hello, my name is " + self.name)

    # Testing the code
    def test_say_hello(self):
        self.say_hello()

class Test2:
    def __init__(self, name):
        self.name = name

    def say_hello(self):
        print("Hello, my name is " + self.name)
        # Testing the code

t = Test("John")
t.say_hello()